package com.woniu40.petai_user.service;


import com.woniu40.petai_user.entity.Brand;
import com.woniu40.petai_user.mapper.BrandMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandService {

    @Autowired
    BrandMapper brandMapper;

    public List<Brand> findAllBrand(){
        return brandMapper.selectAll();
    }
}
